<script setup lang="ts">
import { ref } from 'vue'
import MdEditor from './MdEditor.vue'

const value = ref('')
const onChange = (v: string) => {
  value.value = v
}
</script>

<template>
  <MdEditor :value="value" :onChange="onChange" />
</template>

<style scoped>
.read-the-docs {
  color: #888;
}
</style>
